{%include file="m.index.header.tpl.php"%}
<!--头部 end-->
<!--主体部分-->

<div class="container" style="margin-top:70px;">
    <!-- <div class="row" style="margin-right:10%;">
        <div  class="col-xs-sm  text-right" > <a class="btn btn-primary" href="homework.html" style="width:30%">增加</a></div>
       </div>--><!--row  end-->
    <form name="myform" action="" method="get">
    <div class="row" style="margin-top:10px;">
        <div class="col-sm-12 distance" >
            <div class="form-group">
                <label for="" class="col-sm-2 control-label">姓名:</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" value="{%$staff_name%}"  name="staff_name">
                </div>
            </div>
        </div>
        <div class="col-sm-12 distance" >
            <div class="form-group">
                <label for="" class="col-sm-2 control-label">手机:</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" value="{%$staff_mobile%}"  name="staff_mobile">
                </div>
            </div>
        </div>
        <div class="col-sm-12 distance" >
            <div class="form-group">
                <label for="" class="col-sm-2 control-label">固定电话:</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" value="{%$satff_tel%}"  name="staff_tel">                </div>
            </div>
        </div>
        <div class="col-xs-12 distance hierarchy2">
            <div class="form-group  text-center" style="padding-top:0px;">
                <input type="hidden" name="a" value="teacher.contactlist">
                <button type="submit" class="btn btn-success absolutely ">搜索</button>
            </div>
        </div>
    </div>
       </form>
    <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;">
        <!-- <h5>总计44条信息</h5>-->
        {%foreach from=$staff_lists key=key item=value%}
        <table class="table table-striped table-bordered text-center"  id="middles">
            <tr>
                <td>编号</td>
                <td>{%$value.staff_id%}</td>
            </tr>
            <tr>
                <td>姓名</td>
                <td>{%$value.staff_name%}</td>
            </tr>
            <tr>
                <td>短号</td>
                <td>{%$value.staff_skype%}</td>
            </tr>
            <tr>
                <td>固定电话</td>
                <td>{%$value.staff_fix%}</td>
            </tr>
            <tr>
                <td>手机</td>
                <td>{%$value.staff_tel%}</td>
            </tr>
            <tr>
                <td>E-MAIL</td>
                <td>{%$value.staff_email%}</td>
            </tr>
            <tr>
                <td>QQ</td>
                <td>{%$value.staff_qq%}</td>
            </tr>

            <!--<tr>
                  <td>操作</td>
                   <td ><a type="button" class="btn btn-warning  " href="hired_select.html" >查看</a>  <a type="button" class="btn btn-danger  " href="homework_update.html" >修改</a> </td>
                  </tr>-->

        </table>
        {%/foreach%}
    </div>
</div>
<!--container  end-->

<!--主体部分  end-->
<!--底部-->

<div class="container" style="margin-top:25%;">
    <div class="row">
        <div class="footer navbar-fixed-bottom">
            <div class="col-xs-12" style=" height:15%"></div>
            <div class="col-md-4  col-xs-4 text-center" >
                <p class="glyphicon glyphicon-home white footer_font"></p>
                <p><a href="" class="white  footer_font2">首页</a></p>
            </div>
            <div class="col-md-4 col-xs-4 text-center white  ">
                <p class="glyphicon glyphicon-comment white  footer_font"></p>
                <p><a href=""  class="white  footer_font2">消息</a></p>
            </div>
            <div class="col-md-4 col-xs-4 text-center white" >
                <p class="glyphicon glyphicon-asterisk white footer_font"></p>
                <p ><a href=""  class="white  footer_font2">设置</a></p>
            </div>
        </div>
        <!--footer  end-->

    </div>
    <!--row  end-->

</div>
<!--container  end-->

<!--底部end-->
<!--日历-->
<script src="mstatic/js/jquery.min.js" type="text/javascript"></script>
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script>
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历-->
<script>
    $(function() {
        $( "#start_time" ).datepicker({
            defaultDate: "+1w",
            changeMonth: true,
            changeYear: true,
            numberOfMonths:1,
            onClose: function( selectedDate ) {
                $( "#end_time" ).datepicker( "option", "minDate", selectedDate );
            }
        });
        $( "#end_time" ).datepicker({
            defaultDate: "+1w",
            changeMonth: true,
            changeYear: true,
            numberOfMonths:1,
            onClose: function( selectedDate ) {
                $( "#start_time" ).datepicker( "option", "maxDate", selectedDate );
            }
        });
    });
</script>
</body>
</html>
